package cn.edu.ujn.booksshop.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.ujn.booksshop.dao.Payment;

public interface PaymentMapper {
    int deleteByPrimaryKey(Integer paymentid);

    int insert(Payment row);

    int insertSelective(Payment row);

    Payment selectByPrimaryKey(Integer paymentid);

    int updateByPrimaryKeySelective(Payment row);

    int updateByPrimaryKey(Payment row);
    
    List<Payment> selectAll(@Param("page")Integer page,@Param("rows")Integer rows);
    
    Integer selectCount();
}